import request from '@/utils/request'

export function addProgramme (data) {
  return request({
    url: '/enterprise-programme/add',
    method: 'post',
    data
  })
}

export function getCasesList(pageNo, pageSize = 10) {
  return request({
    url: `/enterprise-programme/list`,
    method: 'get',
    params: {
      pageNo,
      pageSize
    }
  })
}